from django.db import models


class Keyword(models.Model):
    word = models.CharField(max_length=1000)


class Group(models.Model):
    name = models.CharField(max_length=200)


class GroupCategory(models.Model):
    group = models.ForeignKey(Group)
    category = models.IntegerField()


class GroupKeyword(models.Model):
    group = models.ForeignKey(Group)
    word = models.CharField(max_length=1000, null=True)

